<h1>New room</h1>

<% form_for(@room) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :min_players %><br />
    <%= f.text_field :min_players %>
  </p>
  <p>
    <%= f.label :max_players %><br />
    <%= f.text_field :max_players %>
  </p>
  <p>
    <%= f.label :max_cps %><br />
    <%= f.text_field :max_cps %>
  </p>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', rooms_path %>
